<!DOCTYPE HTML>
<html lang="utf-8">
<head>
<meta charset="utf-8">
<title>驾车宝典-${viewMember.nickName!}的话题</title>
<link href="${ctx}/styles/group.css" rel="stylesheet" type="text/css">
<link href="${ctx}/styles/user.css" rel="stylesheet" type="text/css">
<#include '/baseHead.ftl'>
<!--主要部分开始-->
<!--主要部分开始-->

<!--主要部分开始-->
<section id="main"><div class="bgA_01">
	
	<!--左边开始-->
	<div id="leftArea">
		
		<#include 'userNavPanel_01.ftl'>
		
		<div class="activityPanel_01">
			<div class="listField">
				<ul>
					<#list topicPage.result as topic>
					<li>
						<div class="btns">
							<a href="<@topicDetailLink topicId="${topic.topicId}"/>" class="btn" title="点击报名">报名人数<br>${topic.jionActivityMemberCount?c}人</a>
						</div>
						<div class="img">
							<a href="<@topicDetailLink topicId="${topic.topicId}"/>" title="点击报名"><img src="${topic.picview!}" width="131" height="87" alt="${topic.topicTitleAfterFilter!}"></a>
						</div>
						<div class="info">
							<h2><a href="<@topicDetailLink topicId="${topic.topicId}"/>" title="点击报名">${topic.topicTitleAfterFilter!}</a></h2>
							<p>活动时间：${topic.startDate?date} 到  ${topic.endDate?date}</p>
							<p>活动发起：<a href="<@userCenterLink memberId="${topic.fkCreateMemberId}" />" class="name" title="查看个人信息">${topic.createMemberName!}</a></p>
						</div>
					</li>
					</#list>
				</ul>
			</div>
			<div class="pageNumField">
				<p>
				<#if !topicPage.firstPage>
					<a href="${ctx}/member/${viewMember.memberId?c}/activity-${filter}-1">首页</a>
					</#if>
					<#if topicPage.hasPreviousPage>
					<a href="${ctx}/member/${viewMember.memberId?c}/activity-${filter}-${pageNumber-1}">上一页</a>
					</#if>
					<#list topicPage.getLinkPageNumbers() as item>
						<#if item_index==5> 
							<#break>
						</#if>
						<#if item == topicPage.thisPageNumber>
						<!--/{cityNo}-{cateId}-{filter}-{groupId}-{pageNumber}-{orderBy} -->
							<a href="javascript:;" class="on">${item}</a>
						<#else>
								<a href="${ctx}/member/${viewMember.memberId?c}/activity-${filter}-${item}">${item}</a>
						</#if>
					</#list>
					<#if topicPage.hasNextPage>
					<a href="${ctx}/member/${viewMember.memberId?c}/activity-${filter}-${pageNumber+1}">下一页</a>
					</#if>
					<#if !topicPage.lastPage>
					<a  href="${ctx}/member/${viewMember.memberId?c}/activity-${filter}-${topicPage.lastPageNumber?c}">末页</a>
					</#if>
				</p>
			</div>
		</div>
			
	</div>
	<!--左边结束-->
	
	<!--右边开始-->
	<div id="rightArea">
		
		<#include 'userPanel_01.ftl' >
			
		<div class="userNavPanel_02">
			<div class="titleField titleType_01">
				<h1 class="title_01">全部活动</h1>
			</div>
			<nav class="menuField">
				<ul>
					<li><a <#if filter==1>class="on"</#if> href="${ctx}/member/${viewMember.memberId?c}/activity-1-1">他发起的</a></li>
					<li><a <#if filter==2>class="on"</#if> href="${ctx}/member/${viewMember.memberId?c}/activity-2-1">他参加的</a></li>
				</ul>
			</nav>
		</div>
		
	</div>
	<!--右边结束-->
			
<#include '/commonFriendLink.ftl'>

</div></section>
<!--主要部分结束-->
<#include '/baseFoot.ftl'>